package www.reagnetbox.com.others;

public class SerialPortConst {
    public static final int LIB_TYPE_NORMAL_TEMP = 1;
    public static final int LIB_TYPE_FREEZE_TEMP = 2;

    // 结果码
    public static final String RESULT_CODE_SUCCESS = "0031";
    public static final String RESULT_CODE_DOING = "0032";

    // 料口
    public static final int PORT_IN = 1;// 入料口
    public static final int PORT_OUT_LEFT = 2;// 出料口（左）
    public static final int PORT_OUT_RIGHT = 3;// 出料口（右）

    // 命令
    public static final String COMMAND_AXIS_BACK_TO_ORIGIN = "3030";// 运动件机械轴返回原点
    public static final String COMMAND_OPEN_PORT_AND_PREPARE_PALLET = "3031";// 打开进料口，并准备托盘
    public static final String COMMAND_PUT_ITEM_TO_PALLET = "3032";// 把料放入托盘的X行Y列位置
    public static final String COMMAND_PUT_TEMP_PALLET_TO_LIB = "3033";// 把暂存区料盘放M行N列的库位
    public static final String COMMAND_TAKE_OUT_FROM_LIB = "3034";// 把库区的M行N列的料取出
    public static final String COMMAND_PUT_TEMP_PALLET_TO_OUT_PORT = "3035";// 把出口暂存区的料盘放到指定出料口
    public static final String COMMAND_OPEN_AB_PORT = "3036";// 打开A/B出料口
    public static final String COMMAND_MOVE_PELLET_TO_LIB = "3037";// 把XY的料盘移动到MN的库区
    public static final String COMMAND_OPEN_FREEZE_CABINET_DOOR = "3038";// 打开冷藏柜门
    public static final String COMMAND_CLOSE_FREEZE_CABINET_DOOR = "3039";// 关闭冷藏柜门

    // 尺寸
    public static final int SIZE_SMALL = 12;
    public static final int SIZE_MEDIUM = 19;
    public static final int SIZE_LARGE = 45;
}
